home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / converter / pbm with gui / man / ppmchange.man < prev    next >
Encoding:
Text File  |  1996-07-16  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppmchange(1)         AMIGA (3 December 1993)         ppmchange(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           ppmchange - change all pixels of one color to another in a
  10.           portable pixmap
  11.  
  12.      SYNOPSIS
  13.           ppmchange oldcolor newcolor [...] [ppmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable pixmap as input.  Changes all pixels of
  17.           oldcolor to newcolor, leaving all others unchanged.  Up to
  18.           256 colors may be replaced by specifying couples of colors
  19.           on the command line.
  20.  
  21.           The colors can be specified in five ways:
  22.  
  23.           o    A name, assuming that a pointer to an X11-style color
  24.                names file was compiled in.
  25.  
  26.           o    An X11-style hexadecimal specifier: rgb:r/g/b, where r
  27.                g and b are each 1- to 4-digit hexadecimal numbers.
  28.  
  29.           o    An X11-style decimal specifier: rgbi:r/g/b, where r g
  30.                and b are floating point numbers between 0 and 1.
  31.  
  32.           o    For backwards compatibility, an old-X11-style
  33.                hexadecimal number: #rgb, #rrggbb, #rrrgggbbb, or
  34.                #rrrrggggbbbb.
  35.  
  36.           o    For backwards compatibility, a triplet of numbers
  37.                separated by commas: r,g,b, where r g and b are
  38.                floating point numbers between 0 and 1.  (This style
  39.                was added before MIT came up with the similar rgbi
  40.                style.)
  41.  
  42.      SEE ALSO
  43.           pgmtoppm(1), ppm(5)
  44.  
  45.      AUTHOR
  46.           Wilson H. Bent. Jr. (whb@usc.edu) with modifications by
  47.           Alberto Accomazzi (alberto@cfa.harvard.edu)
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.